GridListBoxConcept provides the common properties and messages for the GridListBox2D and GridListBox3D nodes. More...
#include <kanzi/ui/node/concept/grid_list_box.hpp>
Public Types | |
enum | GridDirection { GridDirectionRight, GridDirectionDown } |
Static Public Member Functions | |
static PropertyTypeEditorInfoSharedPtr | makeEditorInfo () |
Static Public Attributes | |
Properties | |
static PropertyType< GridListBoxConcept::GridDirection > | DirectionProperty |
Sets the direction in which a Grid List Box node arranges its items. More... | |
static PropertyType< float > | CellWidthProperty |
Sets the width of each cell in a Grid List Box node. More... | |
static PropertyType< float > | CellHeightProperty |
Sets the height of each cell in a Grid List Box node. More... | |
static PropertyType< float > | ItemAreaBeginProperty |
Sets the proportional offset where the area meant for the fully visible items in a Grid List Box node starts. More... | |
static PropertyType< float > | ItemAreaEndProperty |
Sets the proportional offset where the area meant for the fully visible items in a Grid List Box node ends. More... | |
static PropertyType< float > | RecognitionThresholdProperty |
Sets the distance in pixels that the pointer has to move for the scrolling to start in a Grid List Box node. More... | |
static PropertyType< int > | MinimumNumberOfTouchesProperty |
Sets the minimum number of touch points required on the Grid List Box node area for scrolling. More... | |
static PropertyType< int > | MaximumNumberOfTouchesProperty |
Sets the maximum number of touch points allowed on the Grid List Box node area for scrolling. More... | |
static PropertyType< float > | SensitivityProperty |
Sets the amount that the scroll position changes relative to the movement of the pointer. More... | |
static PropertyType< float > | SlidingAccelerationCoefficientProperty |
Sets the acceleration of a Grid List Box node after the user releases the pointer with which they scroll the Grid List Box. More... | |
static PropertyType< float > | SlidingDragCoefficientProperty |
Sets the amount that drag affects the movement of a Grid List Box node after the user releases the pointer with which they scroll the Grid List Box. More... | |
static PropertyType< float > | DraggingAccelerationCoefficientProperty |
Sets the acceleration of a Grid List Box node when the user scrolls the Grid List Box by dragging the pointer. More... | |
static PropertyType< float > | DraggingDragCoefficientProperty |
Sets the amount that drag affects the movement of a Grid List Box node when the user scrolls the Grid List Box by dragging the pointer. More... | |
static PropertyType< float > | DraggingImpulseFactorProperty |
Sets the amount of impulse to generate from the pointer movement when the user scrolls a Grid List Box node by dragging the pointer. More... | |
static PropertyType< float > | SwipeDistanceProperty |
Sets the distance that a swipe sends the scroll value in a Grid List Box node, relative to the speed of the pointer. More... | |
static PropertyType< float > | CalculatedOffsetProperty |
Reports the current relative offset of an item in a Grid List Box node in proportional range [0.0, 1.0]. More... | |
static PropertyType< Vector2 > | ScrollPositionProperty |
Reports the scroll position of a Grid List Box node along the x and y axes as a relative position within the Grid List Box area. More... | |
static PropertyType< Vector2 > | ScrollTargetPositionProperty |
Reports the current target scroll value of a Grid List Box. More... | |
static PropertyType< Vector2 > | ScrollSpeedProperty |
Reports the current scroll speed of a Grid List Box. More... | |
static PropertyType< bool > | ScrollingProperty |
Indicates whether a Grid List Box is currently scrolling. More... | |
static PropertyType< bool > | ReversedScrollingProperty |
Indicates whether the change in the scroll position is reversed in relation to the direction of the pan gesture. More... | |
GridListBoxConcept provides the common properties and messages for the GridListBox2D and GridListBox3D nodes.
|
static |
|
static |
Sets the direction in which a Grid List Box node arranges its items.
When you change the layout direction you also change the scroll axis of the Grid List Box node.
The default value is GridListBoxConcept::GridDirectionRight.
|
static |
Sets the width of each cell in a Grid List Box node.
The default value is 1.0f.
|
static |
Sets the height of each cell in a Grid List Box node.
The default value is 1.0f.
|
static |
Sets the proportional offset where the area meant for the fully visible items in a Grid List Box node starts.
Kanzi uses the values of the ItemAreaBeginProperty and ItemAreaEndProperty to calculate the value of the Node::VisibleAmountInParentProperty for each list item. You can use the VisibleAmountInParentProperty in shaders to fade out those list items that are not fully visible.
The default value is 0.0f.
|
static |
Sets the proportional offset where the area meant for the fully visible items in a Grid List Box node ends.
Kanzi uses the values of the ItemAreaBeginProperty and ItemAreaEndProperty to calculate the value of the Node::VisibleAmountInParentProperty for each list item. You can use the VisibleAmountInParentProperty in shaders to fade out those list items that are not fully visible.
The default value is 1.0f.
|
static |
Sets the distance in pixels that the pointer has to move for the scrolling to start in a Grid List Box node.
The default value is 5.0f.
|
static |
Sets the minimum number of touch points required on the Grid List Box node area for scrolling.
The default value is 1.
|
static |
Sets the maximum number of touch points allowed on the Grid List Box node area for scrolling.
The default value is 10.
|
static |
Sets the amount that the scroll position changes relative to the movement of the pointer.
The default value 1.0f makes a Grid List Box node scroll the same amount as the user drags the pointer. For example, to set a Grid List Box to scroll twice the amount that the user drags the pointer, set the value of the property to 2.0f.
|
static |
Sets the acceleration of a Grid List Box node after the user releases the pointer with which they scroll the Grid List Box.
The higher the value, the quicker the Grid List Box reaches the scroll target.
The default value is 40.0f.
|
static |
Sets the amount that drag affects the movement of a Grid List Box node after the user releases the pointer with which they scroll the Grid List Box.
The lower the value, the higher the drag and the quicker the scrolling of the Grid List Box stops.
The default value is 80.0f.
|
static |
Sets the acceleration of a Grid List Box node when the user scrolls the Grid List Box by dragging the pointer.
The higher the value, the quicker the Grid List Box reaches its final position.
The default value is 80.0f.
|
static |
Sets the amount that drag affects the movement of a Grid List Box node when the user scrolls the Grid List Box by dragging the pointer.
The lower the value, the higher the drag and the quicker the scrolling stops.
The default value is 150.0f.
|
static |
Sets the amount of impulse to generate from the pointer movement when the user scrolls a Grid List Box node by dragging the pointer.
The default value is 2.0f.
|
static |
Sets the distance that a swipe sends the scroll value in a Grid List Box node, relative to the speed of the pointer.
The default value is 0.01f.
|
static |
Reports the current relative offset of an item in a Grid List Box node in proportional range [0.0, 1.0].
The default value is 0.0f.
|
static |
Reports the scroll position of a Grid List Box node along the x and y axes as a relative position within the Grid List Box area.
Use this property to move the list to a scroll position immediately, without scrolling. To update the scroll position with a binding, use a TwoWayBinding or ToSourceBinding. During scrolling the Grid List Box node internally overrides any one-way binding that targets this property.
The default value is Vector2(0.0f, 0.0f).
|
static |
Reports the current target scroll value of a Grid List Box.
The default value is Vector2(0.0f, 0.0f).
|
static |
Reports the current scroll speed of a Grid List Box.
The default value is Vector2(0.0f, 0.0f).
|
static |
Indicates whether a Grid List Box is currently scrolling.
The default value is false.
|
static |
Indicates whether the change in the scroll position is reversed in relation to the direction of the pan gesture.
The default value, False, sets a GridListBox node to scroll in the direction of the pan gesture.